package com.example.chat.repository;

import com.example.chat.model.RolePermission;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description
 * @Date 2022/11/17 12:09
 * @Author pq
 */
public interface RolePermissionRepository extends JpaRepository<RolePermission,String> {

    List<RolePermission> findByRoleIdAndDeletedIsFalse(String roleId);
}
